<?php
/**
 * 定义/uicaptcha对应的控制器
 *
 * @since 1.1.2
 * @package if
 * @subpackage module.ui
 */
class UICaptchaController extends IController {
	function doIndex() {
		$options = x("options");
		if ($options) {
			$options = @IApplication::singleton()->decrypt($options);
			if (is_array($options)) {
				$captcha = new ICaptcha($options);
				$captcha->draw();
			}
		}
	}
}

?>